how to solve this tricky geometry problem quickly